package io.renren.modules.workjobs.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.workjobs.dao.DeliveryCreateUserPositionDao;
import io.renren.modules.workjobs.entity.DeliveryCreateUserPositionEntity;
import io.renren.modules.workjobs.service.DeliveryCreateUserPositionService;


@Service("deliveryCreateUserPositionService")
public class DeliveryCreateUserPositionServiceImpl extends ServiceImpl<DeliveryCreateUserPositionDao, DeliveryCreateUserPositionEntity> implements DeliveryCreateUserPositionService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<DeliveryCreateUserPositionEntity> page = this.page(
                new Query<DeliveryCreateUserPositionEntity>().getPage(params),
                new QueryWrapper<DeliveryCreateUserPositionEntity>()
        );

        return new PageUtils(page);
    }

}